/* eslint-disable no-console */
<template>
  <div id="app">
    <HelloWorld ref="msg" v-bind="{mapclick,Label:later,yuan:arrer,height:heightd,Zoom:zoomd}"></HelloWorld>
  </div>
</template>

<script>
import HelloWorld from "./components/HelloWorld.vue";
window.abc
export default {
  name: "app",
  data() {
    return {
      arrer:[["116.186932", "40.046008", "1000"],["116.333874", "39.935767","1000"]],
      later: [["114.484051", "37.891105"], ["114.28561", "37.962599"]],
      heightd:800,
      citys:'北京',
      zoomd:[["116.380948", "39.910025"], ["116.432103", "39.945304"]]
    };
  },
  mounted(){
    window.abc=this
    this.$refs.msg.citys(this.citys)
  },
  methods: {
    mapclick(v) {
      this.jwd = v;
      console.log(this.jwd);
    },
    chan(v,k) {
      let x = this;
      x[v] = k
    }
  },
  components: {
    HelloWorld
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
